﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Aj.Core
{
    /// <summary>
    /// 后台页面的基类
    /// </summary>
    public abstract class AuthPageBase : PageBase
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (!HttpContext.Current.User.Identity.IsAuthenticated)
                Response.Redirect("/manager/login.aspx");
        }
    }
}
